package com.say.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.say.bean.domain.Config;


/**
 * 
 * 类名称：ConfigDao<br>
 * 类描述：系统参数数据访问接口<br>
 * @version v1.0
 *
 */
@Repository
public interface ConfigDao extends JpaRepository<Config, String> {

	Config getConfigByCode(String code);
	
	public Page<Config> findAll(Specification<Config> specification, Pageable page);
}
